﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class formCalculoParametros : Form
    {
        public formCalculoParametros()
        {
            InitializeComponent();
        }

        public void setDuracaoP(double duracaoP) {
            txtbxDuracaoP.Text = String.Format("{0:0.00}", duracaoP);
        }
        public void setIntervaloPR(double intervaloPR)
        {
            txtbxIntervaloPR.Text = String.Format("{0:0.00}", intervaloPR);
        }
        public void setIntervaloQRS(double intervaloQRS)
        {
            txtbxIntervaloQRS.Text = String.Format("{0:0.00}", intervaloQRS);
        }
        public void setIntervaloQT(double intervaloQT)
        {
            txtbxIntervaloQT.Text = String.Format("{0:0.00}", intervaloQT);
        }
        public void setIntervaloQTc(double intervaloQTc)
        {
            txtbxIntervaloQTc.Text = String.Format("{0:0.00}", intervaloQTc);
        }

        public void setAmplitudeP(double amplitudeP)
        {
            txtbxAmplitudeP.Text = String.Format("{0:0.00}", amplitudeP);
        }
        public void setDesnivelST(double desnivelST)
        {
            txtbxDesnivelST.Text = String.Format("{0:0.00}", desnivelST);
        }
        public void setIntervaloRR(double intervaloRR)
        {
            txtbxIntervaloRR.Text = String.Format("{0:0.00}", intervaloRR);
        }
        public void setFrequencia(double frequencia)
        {
            txtbxFrequencia.Text = String.Format("{0:0.00}", frequencia);
        }

    }
}
